<style type="text/css">
    .loginkotak {
        border: 1px solid #d4ccb0;
        background-color: #fbfaf3;
        margin: 1em;
        margin-left: 0em;
        padding: 1em;
        display: inline-block;
    }
    
    #logindaftar {
        display: none;
    }

</style>
<div>
    <h1>Silahkan Login di bawah ini :</h1>
</div>
<form action="<?php echo site_url("login/doLogin"); ?>" method="POST">
    <div class="loginkotak">
        <div>
            <span>Email :</span>
        </div>
        <div>
            <input type="email" name="e" />
        </div>
        <div>
            <span>Password :</span>
        </div>
        <div>
            <input type="password" name="p" />
        </div>
        <div>
            <hr />
            <div>
                <span style="float: left;">Belum terdaftar?<br />Silahkan <a href="<?php echo site_url("login/register"); ?>">Mendaftar</a></span>
                <button type="submit" style="float: right;">Login</button>
            </div>
        </div>
</form>
